package com.cosmoplat.xikai.business.service;

import com.cosmoplat.xikai.business.domain.BaseProductInfo;
import com.cosmoplat.xikai.business.domain.DeviceLog;
import com.cosmoplat.xikai.business.domain.DeviceUsageRecord;
import com.cosmoplat.xikai.business.domain.back.EquipmentStatusBackup;

import java.util.List;

/**
 * @ClassName BackService
 * @Description 备份表-服务
 * @Author wdf
 * @Date 2025/2/6
 */
public interface BackService {

    /**
     * 设备运行状态监测
     * @date 14:52 2025/2/6
     * @param deviceLog
     **/
    void insertEquipmentStatusBackup(DeviceLog deviceLog);

    /**
     * 设备使用记录
     * @date 14:52 2025/2/6
     * @param usageRecordList
     **/
    void insertEquipmentUseBackup(List<DeviceUsageRecord> usageRecordList);

    /**
     * 过程加工数据记录
     * @date 14:54 2025/2/6
     * @param productInfo
     **/
    void insertProcessingDataBack(BaseProductInfo productInfo);
}
